﻿'use strict';

angular.module("SLG").config(function ($stateProvider) {
    $stateProvider.state("citys", {
        url: "/citys",
        templateUrl: function () {
            return "../Modules/Citys/citys.html";
        },
        controller: "citysController"
    }).
    state("citys.hero", {
        url: "/hero/:cityId",
        templateUrl: "../Modules/Citys/hero.html",
        controller:"heroController"
    })
})